﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using shopxachtayphap;

namespace shopxachtayphap
{
    public partial class Index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string active = Request.QueryString["category"];
                LoadMenu(active);
            }
        }

        private void LoadMenu(string active)
        {
            string list = Untils.LoadCategory(active);
            ltrCategory.Text = list;
        }

       
    }
}